package com.cyzy.dao;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.List;


@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class AttendStudentClassDao {

    private long attendId;
    private long studentId;
    private List<Integer> studentIds;
    private Integer classId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private java.sql.Date attendDate;
    private double attendSocre;
    private String status;
    private String note;
    private java.sql.Timestamp createTime;
    private java.sql.Timestamp updateTime;

    private String studentName;
    private String studentSex;
    private LocalDate birthDate;
    private String idCard;
    private String studentPhone;
    private String studentPwd;
    private String studentEmail;
    private String fileId;
    private String studentStatus;
    private String studentNote;


    private String className;
    private long campusId;
    private long courseId;
    private long classSize;
    private long userId;

    @TableField(exist = false)
    private Integer pageSize;

    @TableField(exist = false)
    private Integer pageNum;

}
